//
//  MineSecondTableViewCell.m
//  GiftItems
//
//  Created by lanou3g on 15/9/21.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "MineSecondTableViewCell.h"

@implementation MineSecondTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        [self addSubviews];
    }
    return self;
}

- (void)addSubviews {
    
    self.picImage = [[UIImageView alloc] initWithFrame:CGRectMake(15, 5, 30, 30)];
    [self.contentView addSubview:self.picImage];
    
    self.title = [[UILabel alloc] initWithFrame:CGRectMake(60, 10, 100, 30)];
    [self.contentView addSubview:self.title];
    
    self.idLabel = [[UILabel alloc] initWithFrame:CGRectMake(kWidth - 180, 10, 145, 30)];
    self.idLabel.textAlignment = NSTextAlignmentCenter;
    [self.contentView addSubview:self.idLabel];

}




- (void)awakeFromNib {
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
